package com.example.springboot.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author by Mr. Li 2021/1/30 16:10
 */
@ConfigurationProperties(prefix = "api.version")
@Data
@Component
public class ApiVersionConfig {

    /**
     * 请求头中的参数名称
     */
    private String requestHeader;
}
